import type { PageDto } from './request'

export type Status = 0 | 1 | 2 | 3 // 0:待处理 1:退货中 2:已完成 3:已拒绝

export interface ReturnApply {
  companyAddressId?: number
  createTime?: string
  description?: string
  handleMan?: string
  handleNote?: string
  handleTime?: string
  id?: number
  memberUsername?: string
  orderId?: number
  orderSn?: string
  productAttr?: string
  productBrand?: string
  productCount?: number
  productId?: number
  productName?: string
  productPic?: string
  productPrice?: number
  productRealPrice?: number
  proofPics?: string
  reason?: string
  receiveMan?: string
  receiveNote?: string
  receiveTime?: string
  returnAmount?: number
  returnName?: string
  returnPhone?: string
  status?: Status
}

export interface ReturnApplyDto {
  companyAddressId?: number
  handleMan?: string
  handleNote?: string
  id?: number
  receiveMan?: string
  receiveNote?: string
  returnAmount?: number
  status?: Status
}

export interface ReturnApplyPageDto extends PageDto {
  handleMan?: string
  handleTime?: string
  id?: number
  receiverKeyword?: string
  status?: Status
}
